package cn.com.shopec.erp.multiChannel.entity;

// default package
// Generated 2016-12-7 12:32:41 by Hibernate Tools 4.3.1.Final

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;

/**
 * TblProductPackage generated by hbm2java
 */
@Entity
@Table(name = "tbl_product_package", catalog = "hna_erp")
public class ProductPackage implements java.io.Serializable {

	private static final long serialVersionUID = 3768523086916843003L;
	private String id;
	private String channelOrderId;
	private String prodPackageNo;
	private String prodNo;
	private String whNo;
	private int deliveryState;
	private Date deliveryTime;
	private Date createTime;
	private String operatorId;
	private String supNo;
	private int state;

	public ProductPackage() {
	}

	public ProductPackage(String id) {
		this.id = id;
	}

	public ProductPackage(String id, String channelOrderId, String prodPackageNo, String prodNo, String whNo,
			int deliveryState, Date deliveryTime, Date createTime, String operatorId,int state) {
		this.id = id;
		this.channelOrderId = channelOrderId;
		this.prodPackageNo = prodPackageNo;
		this.prodNo = prodNo;
		this.whNo = whNo;
		this.deliveryState = deliveryState;
		this.deliveryTime = deliveryTime;
		this.createTime = createTime;
		this.operatorId = operatorId;
		this.state = state;
	}

	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@GeneratedValue(generator = "generator")
	@Id
	@Column(name = "id", unique = true, nullable = false, length = 32)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "channel_order_id", length = 32)
	public String getChannelOrderId() {
		return this.channelOrderId;
	}

	public void setChannelOrderId(String channelOrderId) {
		this.channelOrderId = channelOrderId;
	}

	@Column(name = "prod_package_no", length = 32)
	public String getProdPackageNo() {
		return this.prodPackageNo;
	}

	public void setProdPackageNo(String prodPackageNo) {
		this.prodPackageNo = prodPackageNo;
	}

	@Column(name = "prod_no", length = 32)
	public String getProdNo() {
		return this.prodNo;
	}

	public void setProdNo(String prodNo) {
		this.prodNo = prodNo;
	}

	@Column(name = "wh_no", length = 32)
	public String getWhNo() {
		return this.whNo;
	}

	public void setWhNo(String whNo) {
		this.whNo = whNo;
	}

	@Column(name = "delivery_state")
	public int getDeliveryState() {
		return this.deliveryState;
	}

	public void setDeliveryState(int deliveryState) {
		this.deliveryState = deliveryState;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "delivery_time", length = 19)
	public Date getDeliveryTime() {
		return this.deliveryTime;
	}

	public void setDeliveryTime(Date deliveryTime) {
		this.deliveryTime = deliveryTime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_time", length = 19)
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "operator_id", length = 32)
	public String getOperatorId() {
		return this.operatorId;
	}

	public void setOperatorId(String operatorId) {
		this.operatorId = operatorId;
	}

	@Column(name = "sup_no", length = 32)
	public String getSupNo() {
		return supNo;
	}

	public void setSupNo(String supNo) {
		this.supNo = supNo;
	}

	@Column(name = "state")
	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	
}
